package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
 * @author wjs
 * @version 1.0
 * @date 2022/1/8 0008 下午 7:09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "report")
public class Report implements Serializable {
    private static final long serialVersionUID = -3136732836884939898L;

    private ObjectId id;
    private Long userId;
    private Integer score;
    private Integer star;//星别（例如：2颗星，3颗星，5颗星）
    private Integer level;//分数等级
    private Long created;

}
